package com.google.code.stalkernet.advertisements.event;

import java.util.EventListener;

/**
 * Receives notifications about advertisements-related events.
 *
 * @author Mikhail Vladimirov
 */
public interface AdvertisementsListener extends EventListener
{
    /**
     * Called when advertisement was added.
     *
     * @param advertisementsEvent event details
     */
    public void advertisementAdded (AdvertisementsEvent advertisementsEvent);

    /**
     * Called when advertisement was removed.
     *
     * @param advertisementsEvent event details
     */
    public void advertisementRemoved (AdvertisementsEvent advertisementsEvent);
}
